tup1 = ('Google', 'Runoob', 1997, 2000)
tup2 = (1, 2, 3, 4, 5, 6, 7)

print("tup1[0]: ", tup1[0])
print("tup2[1:5]: ", tup2[1:5])


def IsShuShu(a):
    i = 2
    print("Good bye!")
    while (i < 100):
        j = 2
        while (j <= (i / j)):
            if not (i % j): break
            j = j + 1
            if (j > i / j): print(i, " 是素数")
        i = i + 1
IsShuShu(1)
def IsShu(s):
    i=2
    print("dddd")
    num =1
    for num in range(1,2):
        print(num)
        for index in range(1,10):
            print (num,index)
IsShu(1)

def hello():
    print("Hello World113331!")


sites = ["Baidu", "Google", "Runoob", "Taobao"]
for site in sites:
    if site == "Runoob":
        print("菜鸟教程!")
        break
    print("循环数据 " + site)
else:
    print("没有循环数据!")
print("完成循环!")
for site in sites:
    if site == "Google":
        hello()
